/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/13/2010                        
            */

using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObject
{
    /// <summary>
    /// Define UserProfileResult object. This object used to contain data that returned from data layer.
    /// </summary>
    public class UserProfileResult
    {
        #region fields
        private Guid userId;
        private string name;
        private string address;
        private string phone;
        private int gender;
        private DateTime birthDay;
        private string createdBy;
        private DateTime createdDate;
        private string lastUpdatedBy;
        private DateTime lastUpdatedDate;
        #endregion fields

        #region properties
        /// <summary>
        /// Define UserId Property.
        /// </summary>
        public Guid UserId
        {
            get { return this.userId; }
            set { this.userId = value; }
        }
        /// <summary>
        /// Define Name Property.
        /// </summary>
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        /// <summary>
        /// Define Address Property.
        /// </summary>
        public string Address
        {
            get { return this.address; }
            set { this.address = value; }
        }
        /// <summary>
        /// Define Phone Property.
        /// </summary>
        public string Phone
        {
            get { return this.phone; }
            set { this.phone = value; }
        }
        /// <summary>
        /// Define Gender Property.
        /// </summary>
        public int Gender
        {
            get { return this.gender; }
            set { this.gender = value; }
        }
        /// <summary>
        /// Define BirthDay Property.
        /// </summary>
        public DateTime BirthDay
        {
            get { return this.birthDay; }
            set { this.birthDay = value; }
        }
        /// <summary>
        /// Define CreatedBy Property.
        /// </summary>
        public string CreatedBy
        {
            get { return this.createdBy; }
            set { this.createdBy = value; }
        }
        /// <summary>
        /// Define CreatedDate Property.
        /// </summary>
        public DateTime CreatedDate
        {
            get { return this.createdDate; }
            set { this.createdDate = value; }
        }
        /// <summary>
        /// Define LastUpdatedBy Property.
        /// </summary>
        public string LastUpdatedBy
        {
            get { return this.lastUpdatedBy; }
            set { this.lastUpdatedBy = value; }
        }
        /// <summary>
        /// Define LastUpdatedDate Property.
        /// </summary>
        public DateTime LastUpdatedDate
        {
            get { return this.lastUpdatedDate; }
            set { this.lastUpdatedDate = value; }
        }
        #endregion properties

        #region constructor
        /// <summary>
        /// Define default constructor for UserProfileResultResult Object.
        /// </summary>
        public UserProfileResult()
        {
            this.userId = Guid.Empty;
            this.name = string.Empty;
            this.address = string.Empty;
            this.phone = string.Empty;
            this.gender = int.MinValue;
            this.birthDay = DateTime.MinValue;
            this.createdBy = string.Empty;
            this.createdDate = DateTime.MinValue;
            this.lastUpdatedBy = string.Empty;
            this.lastUpdatedDate = DateTime.MinValue;
        }
        /// <summary>
        /// Define constructor for UserProfileResultResult Object.
        /// </summary>
        public UserProfileResult(Guid userId,
                    string name,
                    string address,
                    string phone,
                    int gender,
                    DateTime birthDay,
                    string createdBy,
                    DateTime createdDate,
                    string lastUpdatedBy,
                    DateTime lastUpdatedDate)
        {
            this.userId = userId;
            this.name = name;
            this.address = address;
            this.phone = phone;
            this.gender = gender;
            this.birthDay = birthDay;
            this.createdBy = createdBy;
            this.createdDate = createdDate;
            this.lastUpdatedBy = lastUpdatedBy;
            this.lastUpdatedDate = lastUpdatedDate;
        }
        #endregion constructor
    }
}